﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Kiosk
{
    public partial class BrowseBar : UserControl
    {
        public BrowseBar()
        {
            InitializeComponent();
        }

        public event EventHandler Button1Click;
        public event EventHandler Button2Click;
        public event EventHandler Button3Click;
        public event EventHandler Button4Click;

        private void button1_Click(object sender, EventArgs e)
        {
            if (Button1Click != null)
                Button1Click(sender, e);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            if (Button2Click != null)
                Button2Click(sender, e);
        }

        private void button3_Click(object sender, EventArgs e)
        {
            if (Button3Click != null)
                Button3Click(sender, e);
        }

        private void button4_Click(object sender, EventArgs e)
        {
            if (Button4Click != null)
                Button4Click(sender, e);
        }
    }
}
